from django.conf.urls.defaults import *
from django.contrib.auth.views import login, logout, password_change

from loginocb.views import updatedata

urlpatterns = patterns('',
        url(r'^login$', login, {'template_name':'loginocb/loginocb.html'}, name='loginocb'),
        url(r'^logout$',logout, {'next_page':'/'}, name='logoutocb'),
        url(r'^passwd$', password_change, {'template_name':'loginocb/passwd.html','post_change_redirect':'/'}, name='passwd'),
        url(r'^updatedata$', updatedata, name='updatedata' )
    )